package com.mdx.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDate;

/**
 * 会商
 */
@TableName("t_consultation")
public class ConsultationBean {

    /**
     * 主键
     */
    @TableId(value = "pk_consultationId",type = IdType.AUTO)
    private int consultationId;

    /**
     * 会商结果
     */
    @TableField("f_consultationInfo")
    private String consultationInfo;

    /**
     * 专家
     */
    @TableField("f_person")
    private String person;

    /**
     *会商日期
     */
    @TableField("f_conDate")
    private LocalDate conDate = LocalDate.now();

    @Override
    public String toString() {
        return "ConsultationBean{" +
                "consultationId=" + consultationId +
                ", consultationInfo='" + consultationInfo + '\'' +
                ", person='" + person + '\'' +
                ", conDate=" + conDate +
                '}';
    }

    public int getConsultationId() {
        return consultationId;
    }

    public void setConsultationId(int consultationId) {
        this.consultationId = consultationId;
    }

    public String getConsultationInfo() {
        return consultationInfo;
    }

    public void setConsultationInfo(String consultationInfo) {
        this.consultationInfo = consultationInfo;
    }

    public String getPerson() {
        return person;
    }

    public void setPerson(String person) {
        this.person = person;
    }

    public LocalDate getConDate() {
        return conDate;
    }

    public void setConDate(LocalDate conDate) {
        this.conDate = conDate;
    }

    public ConsultationBean() {
    }

    public ConsultationBean(int consultationId, String consultationInfo) {
        this.consultationId = consultationId;
        this.consultationInfo = consultationInfo;
    }


}
